<script setup lang="ts">
import CartMain from './components/CartMain.vue'

// 获取屏幕边界到安全区域距离
const { safeAreaInsets } = uni.getSystemInfoSync()
// const style = safeAreaInsets?.bottom
</script>

<template>
  <view class="view">
    <CartMain :styleBottom="safeAreaInsets?.bottom" />
  </view>
</template>

<style lang="scss" scoped>
page {
  height: 100%;
}
</style>
